import Layout from '@/views/layout/Layout';

const _import = require('@/router/_import_' + process.env.NODE_ENV);

export default {
  path: '/system/base',
  component: Layout,
  name: '基础配置管理',
  icon: 'setting',
  authority: 'baseManager',
  children: [{
    path: 'user',
    icon: 'fa-user',
    component: _import('manage/admin/user/index'),
    name: '用户管理',
    authority: 'userManager'
  }, {
    path: 'menu',
    icon: 'category',
    component: _import('manage/admin/menu/index'),
    name: '菜单管理',
    authority: 'menuManager'
  }, {
    path: 'group',
    icon: 'group_fill',
    component: _import('manage/admin/group/index'),
    name: '角色权限管理',
    authority: 'groupManager'
  }, {
    path: 'groupType',
    icon: 'fa-users',
    component: _import('manage/admin/groupType/index'),
    name: '角色类型管理',
    authority: 'groupTypeManager'
  }, {
    path: 'gateLog',
    icon: 'viewlist',
    component: _import('manage/admin/gateLog/index'),
    name: '操作日志管理',
    authority: 'gateLogManager'
  }, {
    path: 'dict',
    icon: 'viewlist',
    component: _import('manage/admin/dict/index'),
    name: '数据字典',
    authority: 'dictManager'
  }, {
    path: 'tenant',
    icon: 'tenant',
    component: _import('manage/admin/tenant/index'),
    name: '租户管理',
    authority: 'tenantManager'
  }, {
    path: 'job',
    icon: 'tenant',
    component: _import('manage/admin/job/index'),
    name: '定时任务管理',
    authority: 'jobManager'
  }]
}
